extern crate ears;
use ears::Sound;
use ears::AudioController;
use std::time::Duration;
use std::thread;

pub fn PlaySound(){
	let mut snd = Sound::new("bip.mp3").unwrap();
	snd.play();
}

pub fn Delay(time: float){
	thread::sleep(Duration::from_millis(time));
}

fn main() {
	println!("Pomodoro");
	Delay(1500000);
	PlaySound();
}
